package com.example.servletdemo.mvc.dao.impl;

import com.example.servletdemo.mvc.dao.inter.UserDaoInter;
import com.example.servletdemo.mvc.model.Student;
import org.springframework.stereotype.Repository;

@Repository
public class UserDaoImpl implements UserDaoInter {
    @Override
    public Student getStudentInfo(int id) {
        Student student = new Student();
        student.setAge(12);
        student.setName("学生："+id);
        return student;
    }
}
